package com.itheima.day06;

import jdk.swing.interop.SwingInterOpUtils;

import java.time.Instant;

public class Practice6 {
    public static void main(String[] args) {
        Instant now = Instant.now();
        long epochSecond = now.getEpochSecond();
        int nano = now.getNano();

        System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");
  System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");
  System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");


        Instant now1 = Instant.now();
        long epochSecond1 = now1.getEpochSecond();
        int nano1 = now1.getNano();

        System.out.println(epochSecond1-epochSecond);
        System.out.println(nano1-nano);
    }
}
